package org.jin.samples.page;

public class SystemContext {
	
	private static ThreadLocal<Integer> offset = new ThreadLocal<Integer>();
	
	private static ThreadLocal<Integer> pagesize = new ThreadLocal<Integer>();
	
	public static Integer getOffset() {
		return offset.get();
	}

	public static void setOffset(Integer _offset) {
		offset.set(_offset);
	}
	
	public static void removeOffset(){
		offset.remove();
	}
	
	public static Integer getPagesize() {
		return pagesize.get();
	}

	public static void setPagesize(Integer _pagesize) {
		pagesize.set(_pagesize);
	}

	public static void removePageSize(){
		pagesize.remove();
	}
	
	
}
